import Vue from 'vue'
import Vuex from 'vuex'
// import createPersistedState from 'vuex-persistedstate'
Vue.use(Vuex);
var store = new Vuex.Store({
	state:{
		// companyId:"",//公司id
	},
	mutations:{
		change(state,data){
			// state.companyId = data.companyId;
		}
	},
	// plugins: [createPersistedState()]  //vuex状态持久化
})
export default store;